Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BaseTransition): fix BaseTransition delayed leave with mode `in… #1404

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

underfin
Copy link
Member

…-out`

fix #1400

@@ -192,7 +191,6 @@ const BaseTransitionImpl = {
}
return emptyPlaceholder(child)
} else if (mode === 'in-out') {
delete prevHooks.delayedLeave
leavingHooks.delayLeave = (
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the delayed leave of old child caused the old child can't leave.

@yyx990803 yyx990803 merged commit 2ff8dca into vuejs:master Jun 25, 2020
@underfin underfin deleted the fix-transiton-mode-inout branch June 26, 2020 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transition with mode="in-out" not removing keyed elements/components
2 participants